<%= form_for @topic, url: cartasur_forum_topics_path do |f| %>
        <%= f.error_messages %>
    <% if params[:forum_id] %>
        <input type="hidden" id="cartasur_topic_forum_id" name="cartasur_topic[forum_id]" value="<%= params[:forum_id] %>" />
    <% end %>

    <p>
      <%= f.label t 'cartasur.forums.topictitle' %><br />
      <%= f.text_field :name %>
    </p>

    <p><%= f.submit "Create" %></p>
<% end %>